<template>
    <div>
        <el-row>
            <el-col :span="24">
                <el-breadcrumb separator="/">
                    <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
                    <el-breadcrumb-item>商品管理</el-breadcrumb-item>
                    <el-breadcrumb-item>商品列表</el-breadcrumb-item>
                    </el-breadcrumb>
            </el-col>
        </el-row>
        <el-row>
          <el-col :span="24">
              <el-button type="success" plain @click="addgoods">添加商品</el-button>
          </el-col>
        </el-row>
    </div>
</template>
<script>
export default {
    methods: {
        addgoods(){
            this.$router.push({name:'toadd'})
        }
    },
}
</script>
<style lang="scss" scoped>

</style>
